const { dialog, ipcMain } = require("electron");

ipcMain.handle("on-alert-event", (e, message) => {
  dialog.showMessageBox({
    message,
    type: "error",
    title: "error",
  });
});
